!function () {

    const FreedoOcx = require('./freedoocx');

    var ocx = new FreedoOcx({
        ocxid: "ctr"
    });
    ocx.init(function () {

        const ToolManager = require('./toolmanager');
        var toolm = new ToolManager({
            freedoocx: ocx
        });

        const ThreeToolExample = require('./threetoolsexample');
        var toolexample = new ThreeToolExample(toolm);
        toolexample.initUI();

     
        var fly= require('./fly');
       
        var fly = new fly({
            freedoocx:ocx
           
        });

        fly.flyTo(113.103843828, 29.347599588, 0, 0, 500);



    });



}()

